package oakclub.global;

public final class Enums
{
    public enum PropsConfig
    {
        SERVER("server"), MYSQL("mysql"), THRIFT("thrift"), MEMCACHED("memcached"),
        GEARMAN("gearman"), FACEBOOK("facebook"), SCRIBE("scribe"), MEDIA("media"),
        EJABBERD("ejabberd"), ANDROID("android"), IOS("ios");

        private final String val;

        private PropsConfig(String val)
        {
            this.val = val;
        }

        public String val()
        {
            return "config/" + this.val + ".properties";
        }
    }

    public enum Component
    {
        CONNECTION_POOL("connection_pool"), MEMCACHE_CLIENT("memcache_client"),
        GEARMAN_CLIENT("gearman_Client"), SCRIBE_CLIENT("scribe.client");

        private final String val;

        private Component(String val)
        {
            this.val = val;
        }

        public String val()
        {
            return this.val;
        }
    }

    public enum Platform
    {
        WEB(1), IOS(2), ANDROID(3);

        private final int val;

        private Platform(int val)
        {
            this.val = val;
        }

        public int val()
        {
            return this.val;
        }
    }
}
